package com.zis.auction.dao;

import com.zis.auction.model.Counsel;
import org.beetl.sql.core.annotatoin.SqlStatement;
import org.beetl.sql.core.mapper.BaseMapper;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface CounselDao extends BaseMapper<Counsel> {

    @SqlStatement(params = "conId")
    Counsel findById(String conId);

    @SqlStatement(params = "ausId")
    List<Counsel> findByAusId(String ausId);
}
